The system data type TADDR_Param contains address information consisting of an IPV4 address and the port number.
The LGF_TaddrToString function converts a TADDR_Param system data type variable to a String data type variable.
| LGF_TaddrToString (FC) | ||||||||
|---|---|---|---|---|---|---|---|---|
| TADDR_Param | ipAdressTaddr | Ret_Val | String | |||||
| Identifier | Data type | Description |
|---|---|---|
| ipAdressTaddr | TADDR_Param | IP-Address and Port number to convert into string |
| Identifier | Data type | Description |
|---|---|---|
| Ret_Val | String | IP-Address and Port number as string |
The function converts the IPV4 address with or without port number. The system data type TADDR_Param is a structured data type. This structure contains the variable REM_PORT_NR. If this variable is 0, no port is written to the parameter Ret_Val.
Ret_Val:192.168.11.11192.168.11.11:3294| Version & Date | Change description | |
|---|---|---|
| 1.0.0 | Siemens Industry Online Support | |
| 19.01.2017 | First released version | |
| 1.0.1 | Siemens Industry Online Support | |
| 17.08.2018 | Upgrade: TIA V15 Update 2 | |
| 1.0.2 | Industry Online Support | |
| 23.11.2018 | Upgrade: TIA V15.1 | |
| 1.0.3 | Simatic Systems Support | |
| 17.06.2019 | Standard header and block parameters update | |
| 1.0.4 | Simatic Systems Support | |
| 10.07.2019 | Refactoring of While to Do/While and constants inserted | |
| 1.0.5 | Simatic Systems Support | |
| 30.07.2019 | Add ENO handling | |
| 3.0.0 | Simatic Systems Support | |
| 23.04.2020 | Set version to V3.0.0 Harmonize the version of the whole library | |
| 3.0.1 | Simatic Systems Support | |
| 23.02.2021 | Insert documentation | |